package cn.wk.org.service;

import cn.wk.basic.service.IBaseService;
import cn.wk.org.domain.Rejected;
import cn.wk.org.domain.Shop;

import javax.mail.MessagingException;
import java.util.List;

public interface IRejectedService extends IBaseService<Rejected> {
    /**
     * 查询驳回信息
     * @return
     */
    List<Rejected> findRejected();

    /**
     * 根据id查询shop
     * @return
     */
    Shop findShopById(Long id);

    /**
     * 驳回确定
     * @param rejected
     */
    void sendReject(Rejected rejected) throws MessagingException;
}
